<!DOCTYPE html SYSTEM "http://www.thymeleaf.org/dtd/xhtml1-strict-thymeleaf-4.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">

<div class="layui-tab layui-tab-brief" th:fragment="tab">
    <ul class="layui-tab-title">
        <li th:if="${#authPermit.checkPermit('/service/tariff/detail.action')}" th:class="${flag == 1 ? 'layui-this' : ''}"><a th:href="|/service/tariff/detail.action?tariffId=${faultTariff.tariffId}&flag=1|" lay-text="价格表详情">价格表详情</a></li>
        <li th:if="${#authPermit.checkPermit('/channel/tariff/list.action') && faultTariff.tariffId > 0}" th:class="${flag == 2 ? 'layui-this' : ''}"><a th:href="|/channel/tariff/list.action?tariffId=${faultTariff.tariffId}&flag=2|" lay-text="使用渠道">使用渠道</a></li>
        <li th:if="${#authPermit.checkPermit('/service/list.action') && faultTariff.tariffId > 0}" th:class="${flag == 3 ? 'layui-this' : ''}"><a th:href="|/service/list.action?bizType=${faultTariff.bizType}&tariffId=${faultTariff.tariffId}&flag=3|" lay-text="使用项目">使用项目</a></li>
        <li th:if="${#authPermit.checkPermit('/product/tariff/list.action') && faultTariff.tariffId > 0}" th:class="${flag == 4 ? 'layui-this' : ''}"><a th:href="|/product/tariff/list.action?tariffId=${faultTariff.tariffId}&flag=4|" lay-text="产品基础价格">产品基础价格</a></li>
    </ul>
</div>

</html>